import type { BaseTableConfig } from '@/components/base-ui/base-table/type';
import { widthLevel2, widthLevel3, thWordLength4, thWordLength5 } from '@/config';

export const tableConfig: BaseTableConfig = {
    items: [
        {
            modelKey: 'orderNumber',
            columnProps: {
                label: '订单号',
                width: widthLevel2
            }
        },
        {
            modelKey: 'itemCode',
            columnProps: {
                label: '物料编码',
                width: widthLevel2
            }
        },
        {
            modelKey: 'itemName',
            columnProps: {
                label: '物料名称',
                width: widthLevel2
            }
        },
        {
            modelKey: 'customerCode',
            columnProps: {
                label: '客户编码',
                width: widthLevel2
            }
        },
        {
            modelKey: 'customerCompanyName',
            columnProps: {
                label: '客户公司名称',
                width: widthLevel2
            }
        },
        {
            modelKey: 'orderDeliveryDate',
            columnProps: {
                label: '订单交期',
                width: widthLevel3
            }
        },
        {
            modelKey: 'orderPriority',
            columnProps: {
                label: '订单优先级',
                width: thWordLength5
            }
        },
        {
            modelKey: 'schedulingStatus',
            columnProps: {
                label: '订单状态',
                width: thWordLength4
            }
        }
    ],
    unAction: true
};
